/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cis36_gardengame;

/**
 *
 * @author Jonah
 */
public class Game {

    public Game() {
    }
    private GameState gameState;

    public GameState getGameState() {
        return gameState;
    }

    public void setGameState(GameState gameState) {
        this.gameState = gameState;
    }
    private GameLogic gameLogic;
    
    public GameState iterate( GameState oldState) {
        return gameLogic.iterateGame(oldState);
    }
    public void newGame(BoardState boardState) {
        gameState = gameLogic.generateNewGameState(boardState);
    }
}
